﻿using Ivory;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Schism.Actors
{
    public enum Actor_InstructionState
    {
        IDLE_NOINSTRUCTIONS = 1,
        IDLE_INSTRUCTIONS,
        PATHING,
        INSTRUCTIONS,
        FINSIHED,
    }

    public enum Actor_WarningState
    {
        LOW = 1,
        MEDIUM = 2,
        HIGH = 3,
    }

    public static class ActorConverter
    {
        public static Color WaringStateToColor(Actor_WarningState state)
        {
            switch (state)
            {
                case Actor_WarningState.LOW: return new Color(0xB6, 0xff, 0x00, 0x80);
                case Actor_WarningState.MEDIUM: return new Color(0xff, 0xD8, 0x00, 0x80); 
                case Actor_WarningState.HIGH: return new Color(0xff, 0x00, 0x00, 0x80);

                default: return new Color(0xB6, 0xff, 0x00, 0x80);
            }
        }
    }
}
